<?php
namespace Hive\Leave\Request;
/**
 * Request Status Object.
 *
 * It represant the status of a request
 *
 * @author Yassir OUBAHA
 * @package Hive\Leave\Request
 *
 * @property string	$status		Status code (11)
 * @property string	$language		Language (5)
 * @property string	$label			Label (100)
 */
class Status extends \Fox\Object {

	/**
	 * Not Sent
	 * @var string
	 */
	const NOT_SENT = "0";

	/**
	 * Waiting for validation
	 * @var string
	 */
	const WAITING = "1";

	/**
	 * Validated
	 * @var string
	 */
	const VALIDATED = "2";

	/**
	 *
	 * Refused
	 * @var string
	 */
	const REFUSED = "9";

}
\Fox\Dao::infos(
	Status::className(),
	new \Fox\Object\Info('leave_request_status', \Fox\Databases::DB_APP)
);